package com.unhz.taigu.service.impl;

import com.unhz.generator.dao.WsDictMapper;
import com.unhz.generator.pojo.WsDict;
import com.unhz.taigu.service.WsDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 王林恩
 * @Description:
 * @Date: Created in 下午 2:00 2018/2/1 0001
 * @Modified By:
 */
@Service
public class WsDictServiceImpl implements WsDictService {
    @Autowired
    private WsDictMapper wsDictMapper;
    @Override
    public List<WsDict> findWsDictByType(Integer type) {
        List<WsDict> wsDictList = wsDictMapper.selectByType(type);
        return wsDictList;
    }
}
